package com.todo.delicacy.application.frontend.service;

import com.todo.common.common.entity.response.BizResponse;
import com.todo.delicacy.iface.frontend.request.QueryFoodDetailParam;
import com.todo.delicacy.iface.frontend.request.QueryFoodListByNameParam;
import com.todo.delicacy.iface.frontend.request.QueryFoodListByRestaurantParam;
import com.todo.delicacy.iface.frontend.response.FoodBaseVO;
import com.todo.delicacy.iface.frontend.response.FoodDetailVO;

import java.util.List;

/**
 * (FoodInfo)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 00:19:46
 */
public interface FoodInfoAggService {

    /**
     * 根据餐厅id查询美食列表
     *
     * @param param
     * @return
     */
    BizResponse<List<FoodBaseVO>> queryFoodListByRestaurantId(QueryFoodListByRestaurantParam param);

    /**
     * 根据名称查询美食列表
     *
     * @param param
     * @return
     */
    BizResponse<List<FoodBaseVO>> queryFoodListByName(QueryFoodListByNameParam param);

    /**
     * 根据Id查询美食详情
     *
     * @param param
     * @return
     */
    BizResponse<FoodDetailVO> queryFoodDetailById(QueryFoodDetailParam param);
}
